package com.hspedu.date_;

/**
 * @author DL5O
 * @version 1.0
 */
public class Dog {
    private String name;
    private int age;


    public Dog(String name, int age) {
        this.name = name;
        this.age = age;
    }


    //说明一下：diagram IDEA properties 的含义
    //如果是setXXX 或者 getXXX 那么这些方法就会认为是一个properties 和方法
    public void setAddress(String address){

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void cry(){

    }

    class Air{

    }
}
